package algorithm.graph;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class GraphTest {

    /**
     * 有向图 无环
     *
     * @param args
     */
    public static void main(String[] args) {

        Map<String, List<String>> graph = new HashMap<>();
        /*
                1
               / \
              2   3
               \ /  \
                5    4
         */
//        graph.put("1",new ArrayList("1","2","3" ...));

    }

}
